Choose Conditional Formatting to define format styles depending on certain conditions. If a style was already assigned to a cell, it remains unchanged. The style entered here is then evaluated. You can enter three conditions that query the contents of cell values or formulas. The conditions are evaluated from 1 to 3. If the condition 1 matches the condition, the defined style will be used. Otherwise, condition 2 is evaluated, and its defined style used. If this style does not match, condition 3 is evaluated.
条件によって異なる書式スタイルを設定するには、条件付き書式設定 を選択します。すでにスタイルが割り当てられているセルのスタイルは、この条件を満たしても変更されません。次に、ここで入力されたスタイルが評価されます。ここには、セルの値や数式の内容を照会する 3 つの条件を入力できます。条件は 1 から 3 の順番で評価されます。まず、条件 1 の条件が満たされる場合、条件 1 に定義されているスタイルが使用されます。そうでない場合、条件 2 が評価されます。条件 2 の条件が満たされる場合、条件 2 に定義されているスタイルが使用されます。そうでない場合、条件 3 が評価されます。
|
To access this command...この機能の見つけ方 |
![]() | To apply conditional formatting, AutoCalculate must be enabled. Choose Tools - Cell Contents - AutoCalculate (you see a check mark next to the command when AutoCalculate is enabled).
条件付き書式設定を適用するには、自動計算が有効になっていなければなりません。 「ツール → セルの内容 → 自動計算」を選択してください。自動計算を有効にすると、コマンドの横にチェックマークが表示されます。 |
Mark the boxes corresponding to each condition and enter the corresponding condition. To close the dialog, click OK.
条件のチェックボックスをオンにして、その条件を入力します。このダイアログを閉じるには、OK をクリックします。
Specifies if conditional formatting is dependent on a cell value or a formula. If you select a formula as a reference, the Cell Value Condition box is displayed to the right of the Cell value/Formula field. If the condition is "Formula is", enter a cell reference. If the cell reference is a value other than zero, the condition matches.
条件付き書式設定を決定する要素として、「セルの値が」または「数式が」のどちらかを指定します。「数式が」を選択した場合、セルの値、数式 フィールドの右側に セルの値の条件 ボックスが表示されます。条件が「数式が」である場合、セル参照を入力します。セルが 0 より大きな値を参照している場合、その条件は満たされます。
Choose a condition for the format to be applied to the selected cells.
選択中のセルに特定のスタイルを適用させる際の条件を選択します。
Choose the style to be applied if the specified condition matches.
ここでは、条件が満たされた場合に適用させるスタイルを選択します。
If you haven't already defined a style to be used, you can click New Style to open the Organizer tab page of the Cell Style dialog. Define a new style there and click OK.
使用するスタイルを、まだ定義していなければ、新しいスタイルをクリックして、セルスタイルダイアログの管理タブページを開きます。新しいスタイルを定義して OK をクリックします。
Enter a reference, value or formula in the parameter field, or in both parameter fields if you have selected a condition that requires two parameters. You can also enter formulas containing relative references.
パラメータボックス (2 つのパラメータを必要とする条件を選択した場合は 2 つのパラメータボックス) には、参照、値、または数式を入力します。相対参照を含む数式も入力できます。
Once the parameters have been defined, the condition is complete. It may appear as:
これで条件は完成しました。条件には例えば次のようなものがあります:
Cell value is equal 0: Cell style Null value (You must have already defined a cell style with this name before assigning it to a condition).
セルの値が/次の値に等しい/ 0 : セルのスタイル「Null 値」 (「Null 値」という名前の、Null 値を強調表示するセルスタイルが定義されていることが前提になります。)
Cell value is between $B$20 and $B$21: Cell style Result (The corresponding value limits must already exist in cells B20 and B21).
[PO-fuzzy@scalc\01.po] セルの値が/次の値の間/ $B$20 と $B$21: セルのスタイル「結果」 (セル B20 と B21 に条件の最大値と最小値が入力されており、「結果」という名前のセルスタイルが存在することが前提になります。)
Formula is SUM($A$1:$A$5)=10: Cell style Result (The selected cells are formatted with the Result style if the sum of the contents in cells A1 to A5 is equal to 10).
[PO-fuzzy@scalc\01.po] 数式が/SUM($A$1:$A$5)=10: セルスタイル「結果」 (A1 から A5 までの値の合計が 10 の場合、現在選択中のセルにスタイル「結果」が適用されます。)